package com.sneakxy.cloudbase.platform.bean.dto;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel("菜单树")
@EqualsAndHashCode
@JsonIgnoreProperties(ignoreUnknown = true)
public class MenuTreeDTO {

	@ApiModelProperty("菜单ID")
	private String id;
	
	@ApiModelProperty("国际化")
	private String i18n;
	
	@ApiModelProperty("是否展开")
	private boolean open;
	
	@ApiModelProperty("下级菜单")
	private List<MenuDTO> children;
	
}
